package com.gy.hsim.bservice.userGroupingManagement.bean;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 * @ClassName: Group
 * @Description: 群实体bean
 * @author quanrj 
 * @param <NOTICE_ID>
 * @date 2015-12-11 上午09:57:19
 */
public class Notice {
	
	/**
	 * 公告ID
	 */
	private String noticeId;
	
	/**
	 * 群ID
	 */
	private String noticeGroupId;
	
	/**
	 * 创建者
	 */
	private String noticeCreator;
	
	/**
	 * 公告内容
	 */
	private String noticeContent;
	
	/**
	 * 创建时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private String noticeCreated;
	
	/**
	 * 使用标志
	 */	
	private String noticeUseFlag;

	public String getNoticeId() {
		return noticeId;
	}

	public void setNoticeId(String noticeId) {
		this.noticeId = noticeId;
	}

	public String getNoticeGroupId() {
		return noticeGroupId;
	}

	public void setNoticeGroupId(String noticeGroupId) {
		this.noticeGroupId = noticeGroupId;
	}

	public String getNoticeCreator() {
		return noticeCreator;
	}

	public void setNoticeCreator(String noticeCreator) {
		this.noticeCreator = noticeCreator;
	}

	public String getNoticeContent() {
		return noticeContent;
	}

	public void setNoticeContent(String noticeContent) {
		this.noticeContent = noticeContent;
	}

	public String getNoticeCreated() {
		return noticeCreated;
	}

	public void setNoticeCreated(String noticeCreated) {
		this.noticeCreated = noticeCreated.substring(0,noticeCreated.lastIndexOf("."));
	}

	public String getNoticeUseFlag() {
		return noticeUseFlag;
	}

	public void setNoticeUseFlag(String noticeUseFlag) {
		this.noticeUseFlag = noticeUseFlag;
	}
		
}
